'Copyright (C) 2009 Christiaan Cable
'
'This program is free software; you can redistribute it and/or
'modify it under the terms of the GNU General Public License
'as published by the Free Software Foundation; either version 3
'of the License, or (at your option) any later version.
'
'This program is distributed in the hope that it will be useful,
'but WITHOUT ANY WARRANTY; without even the implied warranty of
'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
'GNU General Public License for more details (LICENCE.TXT).

Public Class UsageColourValue
    Public Percentage As Integer
    Public Value As String

    Public Sub New(ByVal intPercentage As Integer, ByVal txtValue As String)
        Percentage = intPercentage
        Value = txtValue
    End Sub

    Public Overrides Function ToString() As String
        Return Format(Percentage, "00") & "%"
    End Function
End Class
